using System;
using System.Collections.Generic;
using System.Text;
using GarageGames.Torque.T2D;
using GarageGames.Torque.Core;
using Microsoft.Xna.Framework.Graphics;
using GarageGames.Torque.GFX;
using Microsoft.Xna.Framework;
using Xyne.Templates.PuzzlePieceTemplate;
using Xyne;
using GarageGames.Torque.XNA;

namespace Xyne.Objects.Common
{
    public class XyneText
    {
        private Resource<SpriteFont> font;
        private Vector2 position;
        private Color color;
        private string text;

        #region Properties
        public Vector2 Position
        {
            get
            {
                return position;
            }

            set
            {
                position = value;
            }
        }

        public Color Color
        {
            get
            {
                return color;
            }

            set
            {
                color = value;
            }
        }

        public string Text
        {
            get
            {
                return text;
            }

            set
            {
                text = value;
            }
        }

        public Resource<SpriteFont> Font
        {
            get
            {
                return font;
            }

            set
            {
                font = value;
            }
        }
        #endregion

        
        public XyneText()        
        {
            text = string.Empty;
            position = new Vector2(0, 0);
            font = ResourceManager.Instance.LoadFont("arial14");
        }


    }
}
